package com.juyu.miliao.api.constant;

import lombok.Getter;

/**
 * 微信支付类型
 *
 * @author xuanqicheng
 * @create 2018-11-10:50 AM
 */
@Getter
public enum WeiXinTradeType {
    WEI_XIN_TRADE_TYPE_APP("APP","微信应用支付"),
    WEI_XIN_TRADE_TYPE_H5("MWEB","微信H5支付"),
    WEI_XIN_TRADE_TYPE_JS("JSAPI","JSAPI支付或小程序支付"),
    WEI_XIN_TRADE_TYPE_NATIVE("NATIVE","Native支付")
    ;
    /**
     * 交易类型
     */
    private String tradeType;

    private String message;

    WeiXinTradeType(String tradeType, String message) {
        this.tradeType = tradeType;
        this.message = message;
    }
}
